package com.acme.task2;

public class Foo {
	int counter;
	public Foo(int iteration){
		counter = iteration;
	}
	protected void finalize() throws Throwable {
		System.out.println(counter);
		super.finalize();
	}
}
